import http from '@/utils/http'
export default {
  // 彻底删除文件
  async mydeleteFile(fileId) {
    return await http.post('/api/recycle/delete/' + fileId)
  },
  // 获得回收站所有文件
  async getTrashesFile() {
    return await http.post('/api/recycle/file/list')
  },
  // 恢复文件
  async recoverFile(fileId) {
    return await http.post('/api/recycle/file/recover/' + fileId)
  }
}
